package com.gt.web.srv.web.api.command;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分榜单查询入参;
 *
 * @author Yu Chaohua
 * @date 2024/6/5 23:39
 */
@ApiModel(value = "积分榜单查询入参", description = "")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserScoreListCommand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "当前页码", required = true)
    private long currentPage = 1;

    @ApiModelProperty(notes = "每页条数", required = true)
    private long pageSize = 10;

    @ApiModelProperty(notes = "榜单类型 1周榜；2月榜；3年榜；4自定义时间")
    private int listType = 0;

    @ApiModelProperty(notes = "村民ID")
    private Long peopleId;

    @ApiModelProperty(notes = "村民名称")
    private String peopleName;

    @ApiModelProperty(notes = "社区")
    private Integer communityId;

    @ApiModelProperty(notes = "社区名称")
    private String communityName;

    @ApiModelProperty(notes = "开始时间")
    private Date beginDate;

    @ApiModelProperty(notes = "结束时间")
    private Date endDate;

}